package com.hooyach.spring_ai_demo.config;

import org.springframework.ai.chat.client.ChatClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * ClassName: BuildMasterConfig
 * Package: com.hooyach.spring_ai_demo.config
 * Description:
 *
 * @author 胡雅琪
 * Create 2024/9/13 18:32
 * Version 1.0
 */
@Configuration
public class BuildMasterConfig {
    @Bean
    ChatClient chatClient(ChatClient.Builder builder) {
        return builder.defaultSystem("你是一名建筑领域的大师")
                .build();
    }
}
